package com.cloud.schedule.api.service;

import java.util.List;

import com.cloud.schedule.api.job.ScheduleJob;

public interface ScheduleService {

	List<ScheduleJob> listJobsByGroupName(String groupName);

	void pauseJob(ScheduleJob job);

	void resumeJob(ScheduleJob job);

	void deleteJob(ScheduleJob job);

	void runOnce(ScheduleJob job);

	void saveUpdate(ScheduleJob job);

	ScheduleJob showJobDetail(ScheduleJob job);
	

}
